package com.information.manage.basic.audit.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class AuditTaskPageVO {

    @ApiModelProperty(value = "自增id")
    private Long id;

    /**
     * @see com.information.manage.basic.audit.constant.AuditTypeEnum
     */
    @ApiModelProperty("审核类型枚举")
    private String type;

    @ApiModelProperty("业务对应id")
    private String mainId;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("第一次提交名称")
    private String firstName;

    @ApiModelProperty("审核模板ID")
    private Long auditModelId;

    @ApiModelProperty("自动去重：0/no 1/yes")
    private Integer duplicateRemoval;

    @ApiModelProperty("自动通过：0/no 1/yes")
    private Integer autoPass;

    @ApiModelProperty("当前审核层级ID")
    private Long currentAuditLevelId;

    @ApiModelProperty("当前审核任务层级id")
    private Long currentAuditTaskLevelId;

    @ApiModelProperty("当前顺序：1/2/3/4/5")
    private Integer currentAuditLevel;

    @ApiModelProperty("当前审核人类型： (user:人员审核,role:角色审核)")
    private String currentType;

    @ApiModelProperty("审核评论")
    private String auditRemark;

    @ApiModelProperty("创建人ID")
    private String createUserId;

    @ApiModelProperty("创建人名称")
    private String createUserName;

    @ApiModelProperty("审核任务状态(0:审核中,1:审核通过,2:审核不通过)")
    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("修改时间")
    private Date updateTime;

    @ApiModelProperty("上一次审核人评论")
    private String preAuditRemark;


}
